package org.javver.swing;

import javax.swing.*;
import java.awt.*;

public class JavverWindow extends JFrame {

    public JavverWindow() {
        setTitle("Javver");
        setSize(new Dimension(500, 200));
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setLayout(new BorderLayout());

        createRosterList();

        setVisible(true);
    }

    private void createRosterList() {
        JList rosterList = new RosterList();

        add(new JScrollPane(rosterList), BorderLayout.CENTER);

    }

}
